/**
	Copyright (c) 2010 ATTi 
	All rights reserved.
	Author: Michael Shu
	Date: 3/15/2010
*/

public with sharing class caseAssignedDateClass {
	private static Boolean isFirstBefore = true;
	private static Map<Id, User> mUser;
	private static Map<Id, Group> mQueue;
	
	public static String IOGIncidentRecordTypeID =RecordTypeHelper.GetRecordTypeID('Case',  'IOG Incident');
	public static String IOGChangeTaskRecordTypeID = RecordTypeHelper.GetRecordTypeID('Case', 'IOG Change Task');
	public static String IOGInquiryRecordTypeID = RecordTypeHelper.GetRecordTypeID('Case', 'IOG Inquiry');
	public static Set<String> IOGRecordTypeIDs = new Set<String>{IOGIncidentRecordTypeID, IOGChangeTaskRecordTypeID, IOGInquiryRecordTypeID};
		
	public static Boolean getIsFirstBefore(){
		return isFirstBefore;
	}
		
	public static void setIsFirstBeforeToFalse(){
		isFirstBefore = false;
	}
	
	public static Map<Id, User> getMUser(){
		if( mUser == null){
			mUser = new Map<Id, User>([select Id, Name from User where IsActive = true and UserRole.Name = 'Tier2 Support Rep']);
		}
		return mUser;
	}
}